package com.pig4cloud.pigx.user.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * ApiIp新增DTO
 *
 * @since 2022/10/31 11:39
 */
@Data
public class AppUserApiKeyAddDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 标签
	 */
	@NotBlank(message = "参数异常，标签为空")
	@Length(max = 200, message = "标签最多输入200字")
	private String name;

	/**
	 * 验证码
	 */
	@NotBlank(message = "参数异常，验证码为空")
	private String verifyCode;
}
